package clue.cards;


/**
 *
 * @author Shawn
 */
public abstract class Card {

  public Card() {
  }


  @Override
  public String toString() {
    if (this instanceof RoomCard) {
      return ((RoomCard)this).toString();
    } else if (this instanceof WeaponCard) {
      return ((WeaponCard)this).toString();
    } else if (this instanceof SuspectCard) {
      return ((SuspectCard)this).toString();
    }
    return null;
  }
}
